home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’97 / Warrior’s Progress / source code / Source / Libraries / Fonts / FaceMaintainer.h < prev    next >
Encoding:
Text File  |  1997-06-28  |  347 b   |  26 lines  |  [TEXT/CWIE]

  1. // FaceMaintainer.h
  2.  
  3. #ifndef FaceMaintainer_h
  4. #define FaceMaintainer_h
  5.  
  6. #ifndef GrafPortObject_h
  7. #include "GrafPortObject.h"
  8. #endif
  9.  
  10. class FaceMaintainer
  11.   {
  12.     private:
  13.         GrafPortObject& port;
  14.         Face old;
  15.         
  16.     public:
  17.         FaceMaintainer();
  18.         FaceMaintainer( const Face& toUse );
  19.  
  20.         ~FaceMaintainer()    { Reset(); }
  21.         
  22.         void Reset() const;
  23.   };
  24.  
  25. #endif
  26.